{template 'header'}
<div class="wrap mb-10 mt-10 clearfix">
    <div class="cai_pos">当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$MOD[name]}</a> &raquo; {cat_pos($CAT, ' &raquo; ')}<div class="fr">菜鸟部落为您共找到<strong class="red"> {$items} </strong>条<b class="red"> {$catname} </b>{$MOD[name]}信息</div>
    </div>
</div>

<div class="m">
<div class="m_l f_l">
	<div class="left_box">		
		 
		<div class="fsearch">
			<form action="{$MOD[linkurl]}search.php" id="fsearch">
			<table cellpadding="5" cellspacing="3">
			<tr>
			<td width="80" align="right">关 键 词：</td>
			<td>
			<input type="text" size="60" name="kw" value="{$kw}" class="pd3"/>
			</td>
			</tr>
			<tr>
			<td></td>
			<td>
			{loop $sfields $k $v}
			<input type="radio" name="fields" value="{$k}" id="fd_{$k}"{if $fields==$k} checked{/if}/><label for="fd_{$k}"> {$v}</label>&nbsp;
			{/loop}			
			</td>
			</tr>
			<tr>
			<td align="right">所属分类：</td>
			<td>
			{$category_select}&nbsp;&nbsp;
			所在地区：{$area_select}
			</td>
			</tr>
			<tr>
			<td align="right">更新日期：</td>
			<td>
			{dcalendar('fromdate', $fromdate, '')} 至 {dcalendar('todate', $todate, '')}
			</td>
			</tr>
			<tr>
			<td align="right">排序方式：</td>
			<td>
			{$order_select}
			</td>
			</tr>
			<tr>
			<td></td>
			<td>
			<input type="image" src="{DT_SKIN}image/btn_search.gif"/>&nbsp;&nbsp;
			<a href="{$MOD[linkurl]}search.php"><img src="{DT_SKIN}image/btn_reset_search.gif"/></a>	
			</td>
			</tr>
			</table>
		{if $CP}
		{loop $PPT $p}
		<div class="ppt">
			<table cellpadding="0" cellspacing="0" width="100%">
			<tr>
			<td class="ppt_l" valign="top">按{$p[name]}</td>
			<td class="ppt_r" valign="top">
			<input type="hidden" name="ppt_{$p[oid]}" id="ppt_{$p[oid]}" value="{$p[select]}"/>
			<a href="###" onclick="Dd('ppt_{$p[oid]}').value='';Dd('fsearch').submit();">{if $p[select]==''}<span>全部</span>{else}全部{/if}</a>
			{loop $p[options] $o}
			&nbsp;|&nbsp;<a href="###" onclick="Dd('ppt_{$p[oid]}').value='{$o}';Dd('fsearch').submit();">{if $p[select]==$o}<span>{$o}</span>{else}{$o}{/if}</a>
			{/loop}
			</td>
			</tr>
			</table>
		</div>
		{/loop}
		{/if}
			</form>
		</div>
		{if $page==1 && $kw}
		{ad($moduleid,$catid,$kw,6)}
		{load('m'.$moduleid.'_k'.urlencode($kw).'.htm')}
		{/if}
		{if $tags}
		{template 'list-'.$module, 'tag'}
		{else}
		{template 'noresult', 'message'}
		{/if}
	</div>
</div>
<div class="m_n f_l">&nbsp;</div>
<div class="m_r f_l">
	{if $kw}
	<!--相关搜索-->
		<div class="jianjie box01">
				<div class="header"><h3 class="f20">相关搜索</h3></div>
            <div class="mr10">
              
                	<div class="sch_site">
                        <ul>
                        {loop $MODULE $mod}{if $mod[moduleid]>3 && $mod[moduleid]!=$moduleid && !$mod[islink]}<li><a href="{$mod[linkurl]}search.php?kw={urlencode($kw)}">在 <span class="f_red">{$mod[name]}</span> 找 {$kw}</a></li>{/if}{/loop}
                        </ul>
                    </div>
		<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and word<>'$kw' and keyword like '%$keyword%'&pagesize=10&order=total_search desc&template=list-search_relate", -2)}-->
                 
              	
            </div>
       </div>	
       {/if}
	<!--今日搜索排行-->

		<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">今日搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
               	<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400&pagesize=10&order=today_search desc&key=today_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>
    <!--本周搜索排行--> 
		<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本周搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                    <!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*7&pagesize=10&order=week_search desc&key=week_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>

	 <!--本月搜索排行-->
     	<div class="jianjie box01 mt-10">
				<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本月搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                 	<!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*30&pagesize=10&order=month_search desc&key=month_search&template=list-search_rank")}-->
                </div>		
            </div>
       </div>

<!--小贴士开始-->
            <div class="jianjie box01 mt-10">
                <div class="header"><h3 class="f20">家装小贴士</h3></div>
				
                     <div class="know_sch">
				<form action="{$MODULE[2][linkurl]}{$DT[file_my]}" id="ask_form">
				<input type="hidden" name="mid" value="10"/>
				<input type="hidden" name="cid" value="{$catid}"/>
				<input type="hidden" name="action" value="add"/>
				<input type="hidden" name="kw" value="" id="ask_kw"/>
				</form>
				<form action="{$MODULE[10][linkurl]}search.php" onsubmit="return know_sch_check();">
				<input type="hidden" name="typeid" value="99" id="know_typeid"/>
				<input type="text" name="kw" id="know_kw" value="请输入问题" class="know_sch_inp" onfocus="if(this.value=='请输入问题')this.value='';"/>
				<div class="know_sch_btn">
				<input type="submit" class="konw_btn" value="搜索答案" onclick="Dd('know_typeid').value=99;"/>&nbsp;
				<input type="submit" class="konw_btn" value="我要回答" onclick="Dd('know_typeid').value=3;"/>&nbsp;
				<input type="button" class="konw_btn" value="我要提问" onclick="if(know_sch_check()){Dd('ask_kw').value=Dd('know_kw').value;Dd('ask_form').submit();}"/>&nbsp;
				</div>
				</form>
				<script type="text/javascript">
					function know_sch_check() {
						if(Dd('know_kw').value == '请输入问题' || Dd('know_kw').value.length < 1) {
							alert('请输入问题');
							Dd('know_kw').focus();
							return false;
						}
						return true;
					}
				</script>
				
			</div>          
               
            </div>
<!--小贴士结束-->
<!--广告推荐开始-->
            <div class="mt-15">
            <a href="#" target="_blank"><img src="{DT_SKIN}caiimg/zhaos1.jpg" alt="招商" width="240" height="240"/></a>					           </div>
<!--广告推荐结束-->
</div>
</div>
{template 'footer'}